package com.orange.handler.impl;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.orange.handler.AuthTestFileSchoolService;
import com.orange.modules.dao.AuthTestFileSchoolRepository;
import com.orange.modules.entity.AuthTestFileSchoolMap;

@Service
public class AuthTestFileSchoolServiceImpl implements AuthTestFileSchoolService{

	@Autowired
	private AuthTestFileSchoolRepository authTestFileSchoolRepository;

	@Override
	public void insertAuthTestFileSchool(AuthTestFileSchoolMap atf)
			throws SQLException {
		// TODO Auto-generated method stub
		authTestFileSchoolRepository.insertAuthTestFileSchool(atf);
		
	}

	@Override
	public List<AuthTestFileSchoolMap> queryTestFile(String sid, String fid,
			String cid) throws SQLException {
		// TODO Auto-generated method stub
		List<AuthTestFileSchoolMap> list  = authTestFileSchoolRepository.queryTestFile(sid, fid, cid);
		return list;
	}
	
}
